import request from '../utils/request'

export const Validation = data => {
    return request.get(`/sms/codes/${data.mobile}`)
}

export const login = data => {
    return request.post('/authorizations',data)
}

export const list = () => {
    return request.get('/user/channels')
}